home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / games / nhak_src.zip / MONFLAG.H < prev    next >
C/C++ Source or Header  |  1993-03-16  |  6KB  |  120 lines

  1. /*    SCCS Id: @(#)monflag.h    3.0    89/11/21
  2. /* NetHack may be freely redistributed.  See license for details. */
  3. /* Copyright (c) 1989 Mike Threepoint */
  4.  
  5. #ifndef MONFLAG_H
  6. #define MONFLAG_H
  7.  
  8. #define MS_SILENT    0    /* makes no sound */
  9. #define MS_SQEEK    1    /* squeaks, as a rodent */
  10. #define MS_SQAWK    2    /* squawks, as a bird */
  11. #define MS_HISS     3    /* hisses */
  12. #define MS_BUZZ     4    /* buzzes (killer bee) */
  13. #define MS_GRUNT    5    /* grunts (or speaks own language) */
  14. #define MS_GROWL    6    /* growls */
  15. #define MS_BARK     7    /* if full moon, may howl */
  16. #define MS_MEW        8    /* mews or hisses */
  17. #define MS_ROAR     9    /* roars */
  18. #define MS_NEIGH    10    /* neighs, as an equine */
  19. #define MS_WAIL     11    /* wails, as a tortured soul */
  20. #define MS_GURGLE    12    /* gurgles, as liquid or through saliva */
  21. #define MS_BURBLE    13    /* burbles (jabberwock) */
  22. #define MS_SHRIEK    15    /* wakes up others */
  23. #define MS_LAUGH    17    /* grins, smiles, giggles, and laughs */
  24. #define MS_MUMBLE    18    /* says something or other */
  25. #define MS_IMITATE    19    /* imitates others (leocrotta) */
  26. #define MS_SEDUCE    20    /* "Hello, sailor." (Nymphs) */
  27. #define MS_VAMPIRE    21    /* vampiric seduction, Vlad's exclamations */
  28. #define MS_ORC        MS_GRUNT    /* intelligent brutes */
  29. #ifdef INFERNO
  30. #define MS_BRIBE    25    /* asks for money, or berates you */
  31. #endif
  32. #define MS_CUSS     26    /* berates (demons) or intimidates (Wiz) */
  33. #define MS_NURSE    27    /* "Take off your shirt, please." */
  34. #define MS_DJINNI    28    /* "Thank you for freeing me!" */
  35. #define MS_HUMANOID    29    /* generic traveling companion */
  36. #define MS_GUARD    30    /* "Please drop that gold and follow me." */
  37. #define MS_SELL     31    /* demand payment, complain about shoplifters */
  38. #ifdef ORACLE
  39. #define MS_ORACLE    32    /* do a consultation */
  40. #endif
  41. #ifdef ALTARS
  42. #define MS_PRIEST    33    /* ask for contribution; do cleansing */
  43. #endif
  44. #ifdef KOPS
  45. #define MS_ARREST    34    /* "Stop in the name of the law!" (Kops) */
  46. #endif
  47. #ifdef ARMY
  48. #define MS_SOLDIER    35    /* army expressions */
  49. #endif
  50.  
  51. #define M1_FLY        0x00000001L    /* can fly or float */
  52. #define M1_SWIM     0x00000002L    /* can traverse water */
  53. #define M1_AMORPHOUS    0x00000004L    /* can flow under doors */
  54. #define M1_WALLWALK    0x00000008L    /* can phase thru rock */
  55. #define M1_TUNNEL    0x00000010L    /* can tunnel thru rock */
  56. #define M1_NEEDPICK    0x00000020L    /* needs pick to tunnel */
  57. #define M1_CONCEAL    0x00000040L    /* hides under objects */
  58. #define M1_HIDE     0x00000080L    /* mimics, blends in with ceiling */
  59. #define M1_NOEYES    0x00000100L    /* no eyes to gaze into or blind */
  60. #define M1_NOHANDS    0x00000200L    /* no hands to handle things */
  61. #define M1_NOLIMBS    0x00000600L    /* no arms/legs to kick/wear on */
  62. #define M1_NOPOLY    0x00000800L    /* players mayn't poly into one */
  63. #define M1_HUMANOID    0x00001000L    /* has humanoid body */
  64. #define M1_ANIMAL    0x00002000L    /* has animal body */
  65. #define M1_SLITHY    0x00004000L    /* has serpent body */
  66. #define M1_THICK_HIDE    0x00008000L    /* has thick hide or scales */
  67. #define M1_FIRE_RES    0x00010000L    /* resists fire */
  68. #define M1_SLEE_RES    0x00020000L    /* resists sleep */
  69. #define M1_COLD_RES    0x00040000L    /* resists cold */
  70. #define M1_ELEC_RES    0x00080000L    /* resists electricity */
  71. #define M1_STON_RES    0x00100000L    /* resists stoning */
  72. #define M1_ACID     0x00200000L    /* acidic to eat */
  73. #define M1_POIS_RES    0x00400000L    /* resists poison */
  74. #define M1_POIS     0x00800000L    /* poisonous to eat */
  75. #define M1_REGEN    0x01000000L    /* regenerates hit points */
  76. #define M1_SEE_INVIS    0x02000000L    /* can see invisible creatures */
  77. #define M1_TPORT    0x04000000L    /* can teleport */
  78. #define M1_TPORT_CONTROL 0x08000000L    /* controls where it teleports to */
  79. #define M1_GREEDY    0x10000000L    /* likes gold */
  80. #define M1_JEWELS    0x20000000L    /* likes gems */
  81. #define M1_COLLECT    0x40000000L    /* picks up weapons and food */
  82. #define M1_MAGIC    0x80000000L    /* picks up magic items */
  83.  
  84. #define M2_UNDEAD    0x00000001L    /* walking dead */
  85. #define M2_WERE     0x00000002L    /* lycanthrope */
  86. #define M2_ELF        0x00000010L    /* is an elf */
  87. #define M2_DWARF    0x00000020L    /* is a dwarf */
  88. #define M2_GIANT    0x00000040L    /* is a giant */
  89. #define M2_ORC        0x00000080L    /* is an orc */
  90. #define M2_HUMAN    0x00000100L    /* is a human */
  91. #define M2_DEMON    0x00000200L    /* is a demon */
  92. #define M2_MERC     0x00000400L    /* is a guard or soldier */
  93. #define M2_FEM        0x00000800L    /* characteristically female */
  94. #define M2_WANDER    0x00001000L    /* wanders randomly */
  95. #define M2_STALK    0x00002000L    /* follows you to other levels */
  96. #define M2_DOMESTIC    0x00004000L    /* can be tamed by feeding */
  97. #define M2_HOSTILE    0x00010000L    /* always starts hostile */
  98. #define M2_PEACEFUL    0x00020000L    /* always starts peaceful */
  99. #define M2_NASTY    0x00040000L    /* extra-nasty monster (more xp) */
  100. #define M2_STRONG    0x00080000L    /* strong (or big) monster */
  101. #define M2_CARNIVORE    0x00100000L    /* eats corpses */
  102. #define M2_HERBIVORE    0x00200000L    /* eats fruits */
  103. #define M2_OMNIVORE    0x00300000L    /* eats both */
  104. #define M2_METALLIVORE    0x00400000L    /* eats metal */
  105. #define M2_EGGS     0x01000000L    /* lays eggs */
  106. #define M2_ROCKTHROW    0x04000000L    /* throws boulders */
  107. #define M2_PNAME    0x20000000L    /* monster name is a proper name */
  108. #define M2_LORD     0x40000000L    /* a lord to its kind */
  109. #define M2_PRINCE    0x80000000L    /* an overlord to its kind */
  110.  
  111. #define MZ_TINY        0        /* < 2' */
  112. #define MZ_SMALL     1        /* 2-4' */
  113. #define MZ_MEDIUM    2        /* 4-7' */
  114. #define MZ_HUMAN    MZ_MEDIUM    /* human-sized */
  115. #define MZ_LARGE     3        /* 7-12' */
  116. #define MZ_HUGE        4        /* 12-25' */
  117. #define MZ_GIGANTIC    7        /* off the scale */
  118.  
  119. #endif /* MONFLAG_H */
  120.